Platform Explorer / Nuxeo Platform 2021.7

Contribution org.nuxeo.ecm.platform.forms.layouts.webapp.summary--layouts

This contribution is part of XML component org.nuxeo.ecm.platform.forms.layouts.webapp.summary inside nuxeo-platform-webapp-core-2021.7.jar /OSGI-INF/layouts-summary-contrib.xml

Documentation

Default layouts displayed on documents summary view

Extension Point

Extension point layouts of component WebLayoutManager.

Registration Order

17
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <layout name="grid_summary_layout">
          <templates>
            <template mode="any">
              /layouts/layout_grid_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>summary_panel_top</widget>
            </row>
            <row>
              <widget>summary_panel_left</widget>
              <widget>summary_panel_right</widget>
            </row>
            <row>
              <widget>summary_panel_bottom</widget>
            </row>
          </rows>
        </layout>
  • <layout name="default_summary_layout">
          <templates>
            <template mode="any">/layouts/layout_summary_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>summary_current_document_files</widget>
              <widget>summary_current_document_view</widget>
              <widget>summary_current_document_comments</widget>
            </row>
            <row>
              <widget>summary_current_document_description</widget>
              <widget>summary_current_document_states</widget>
              <widget>summary_current_document_contributors</widget>
              <widget>summary_current_document_custom_actions</widget>
              <widget>summary_current_document_tagging</widget>
              <widget>summary_current_document_relations</widget>
            </row>
            <row>
              <widget>summary_current_document_publications</widget>
            </row>
            <row>
              <widget>summary_current_document_single_tasks</widget>
            </row>
          </rows>
        </layout>
  • <layout name="note_summary_layout">
          <templates>
            <template mode="any">/layouts/layout_summary_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>summary_note_text</widget>
              <widget>summary_current_document_files</widget>
              <widget>summary_current_document_comments</widget>
            </row>
            <row>
              <widget>summary_current_document_description</widget>
              <widget>summary_current_document_states</widget>
              <widget>summary_current_document_contributors</widget>
              <widget>summary_current_document_custom_actions</widget>
              <widget>summary_current_document_tagging</widget>
              <widget>summary_current_document_relations</widget>
            </row>
            <row>
              <widget>summary_current_document_publications</widget>
            </row>
            <row>
              <widget>summary_current_document_single_tasks</widget>
            </row>
          </rows>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <documentation>
      Default layouts displayed on documents summary view
    </documentation>

    <layout name="grid_summary_layout">
      <templates>
        <template mode="any">
          /layouts/layout_grid_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>summary_panel_top</widget>
        </row>
        <row>
          <widget>summary_panel_left</widget>
          <widget>summary_panel_right</widget>
        </row>
        <row>
          <widget>summary_panel_bottom</widget>
        </row>
      </rows>
    </layout>

    <!-- deprecated since 5.6, use a grid layout now -->
    <layout name="default_summary_layout">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>summary_current_document_files</widget>
          <widget>summary_current_document_view</widget>
          <widget>summary_current_document_comments</widget>
        </row>
        <row>
          <widget>summary_current_document_description</widget>
          <widget>summary_current_document_states</widget>
          <widget>summary_current_document_contributors</widget>
          <widget>summary_current_document_custom_actions</widget>
          <widget>summary_current_document_tagging</widget>
          <widget>summary_current_document_relations</widget>
        </row>
        <row>
          <widget>summary_current_document_publications</widget>
        </row>
        <row>
          <widget>summary_current_document_single_tasks</widget>
        </row>
      </rows>
    </layout>

    <!-- deprecated since 5.6, use a grid layout now -->
    <layout name="note_summary_layout">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>summary_note_text</widget>
          <widget>summary_current_document_files</widget>
          <widget>summary_current_document_comments</widget>
        </row>
        <row>
          <widget>summary_current_document_description</widget>
          <widget>summary_current_document_states</widget>
          <widget>summary_current_document_contributors</widget>
          <widget>summary_current_document_custom_actions</widget>
          <widget>summary_current_document_tagging</widget>
          <widget>summary_current_document_relations</widget>
        </row>
        <row>
          <widget>summary_current_document_publications</widget>
        </row>
        <row>
          <widget>summary_current_document_single_tasks</widget>
        </row>
      </rows>
    </layout>

  </extension>